Skip to content

crypto/kzg4844: preallocate proof slice in ComputeCellProofs#2633

Merged
ucwong merged 1 commit intomasterfrom
dev
Feb 5, 2026
Merged

crypto/kzg4844: preallocate proof slice in ComputeCellProofs#2633
ucwong merged 1 commit intomasterfrom
dev

Conversation

@ucwong
Copy link
Member

@ucwong ucwong commented Feb 5, 2026

Preallocate the proof slice with the known size instead of growing it via append in a loop. The length is already known from the source slice.

Preallocate the proof slice with the known size instead of growing it
via append in a loop. The length is already known from the source slice.
@ucwong ucwong marked this pull request as ready for review February 5, 2026 14:27
@ucwong ucwong merged commit 00637b6 into master Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants